package com.eianiao.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.eianiao.bean.Orders;
import com.eianiao.common.PageParam;

import java.util.List;

public interface OrderService {

    /**
     * 添加订单
     * @param orders
     * @return
     */
    int add(Orders orders);


    /**
     * 查询订单
     * @param pageParam
     * @return
     */
    IPage findByPage(PageParam pageParam);


    /**
     * 更新菜单的状态
     * @param orders
     * @return
     */
    int update(Orders orders);
}
